package com.luckku.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.luckku.boot.model.entity.Coupon;
import com.luckku.boot.model.entity.Seckill;
import com.luckku.boot.model.vo.CouponVo;

import java.util.List;

/**
 * @author luckku
 * @date 2021/12/13
 */

public interface ICouponService extends IService<Coupon> {

    List<CouponVo> getUserCoupon(String userId);

    List<CouponVo> getUsableCoupon(String userId, Long totalPrice);

    Page<Coupon> getList(Page<Coupon> objectPage);
}
